﻿/*
 * Copyright (c) HiSilicon (Shanghai) Technologies Co., Ltd. 2023-2023. All rights reserved.
 */

#ifndef MYTHREAD_H
#define MYTHREAD_H

#include <QThread>
#include <QObject>

namespace MyThreadClass {
class MyThread : public QThread {
    Q_OBJECT
public:
    explicit MyThread(QObject *parent = nullptr);
    ~MyThread() override;
protected:
    void run() override
    {
        exec();
    }
};
}

#endif // MYTHREAD_H
